Fix is_closed state for DiscretePositionableGarageDoor in Overkiz#170981
Merged
zweckj merged 4 commits intoMay 18, 2026
Merged
Conversation
The DiscretePositionableGarageDoor widget (e.g. Somfy Rollixo IO) reports core:OpenClosedUnknownState instead of core:OpenClosedState and does not support position control. Without a widget-specific override, the device falls through to the UIClass.GARAGE_DOOR default which looks for wrong states, causing the cover to always report unknown state. Fixes home-assistant#170966
Restore original unicode characters that were incorrectly converted to escape sequences, and remove paramsSig fields that are not present in the cloud API format.
The diagnostics were from a local API setup, so the fixture belongs in local_somfy_tahoma_v2_europe.json with the proper local format (includes paramsSig, subsystemId, synced fields; excludes cloud-only fields).
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes the Overkiz cover entity mapping for Somfy Rollixo IO devices using the DiscretePositionableGarageDoor widget so the entity reports a correct is_closed state (and does not expose unsupported position control) after the cover platform migration to entity descriptions.
Changes:
- Add a widget-specific
OverkizCoverDescriptionforUIWidget.DISCRETE_POSITIONABLE_GARAGE_DOORusingcore:OpenClosedUnknownState. - Extend the Overkiz cover service-action tests to include the discrete garage door device.
- Update the local TaHoma fixture and snapshot to include and validate the new device behavior.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| homeassistant/components/overkiz/cover.py | Adds a widget-specific override so is_closed is derived from CORE_OPEN_CLOSED_UNKNOWN and position support is not enabled. |
| tests/components/overkiz/test_cover.py | Adds the discrete garage door fixture device to service-action test coverage (open/close/stop). |
| tests/components/overkiz/snapshots/test_cover.ambr | Updates snapshots to include the new entity registry entry/state for the added device. |
| tests/components/overkiz/fixtures/setup/local_somfy_tahoma_v2_europe.json | Adds a representative DiscretePositionableGarageDoor device payload to reproduce/validate the issue. |
zweckj
approved these changes
May 18, 2026
jnimmo
pushed a commit
to jnimmo/core
that referenced
this pull request
May 18, 2026
frenck
pushed a commit
that referenced
this pull request
May 19, 2026
Merged
eleboucher
pushed a commit
to eleboucher/homelab
that referenced
this pull request
May 19, 2026
…2026.5.2 ➔ 2026.5.3) (#568) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/home-operations/home-assistant](https://ghcr.io/home-operations/home-assistant) ([source](https://github.com/home-assistant/core)) | patch | `2026.5.2` → `2026.5.3` | --- ### Release Notes <details> <summary>home-assistant/core (ghcr.io/home-operations/home-assistant)</summary> ### [`v2026.5.3`](https://github.com/home-assistant/core/releases/tag/2026.5.3) [Compare Source](home-assistant/core@2026.5.2...2026.5.3) - Bump qbittorrent-api to 2026.5.1 ([@​lumatijev] - [#​170181]) ([qbittorrent docs]) (dependency) - Improve iaqualink 429 handling ([@​flz] - [#​170231]) ([iaqualink docs]) - Fix Apple TV keyboard focus binary\_sensor missing on cold start ([@​kroehre] - [#​170360]) ([apple\_tv docs][apple_tv docs]) - Add tilt controls for UpDownSheerScreen in Overkiz ([@​dankarization] - [#​170563]) ([overkiz docs]) - Fix ValueError when turning on blebox light with brightness set to 0 ([@​bkobus-bbx] - [#​170769]) ([blebox docs]) - Bump aiodns to 4.0.3 ([@​bdraco] - [#​170865]) ([dnsip docs]) (dependency) - Populate uid and recurrence\_id in CalDAV calendar events ([@​frenck] - [#​170910]) ([caldav docs]) - Fix is\_closed state for SlidingDiscreteGateWithPedestrianPosition covers in Overkiz ([@​iMicknl] - [#​170913]) ([overkiz docs]) - Disable USB discovery for teleinfo ([@​puddly] - [#​170933]) ([teleinfo docs]) - Fix utility meter next\_reset shifting forward on entity rename ([@​frenck] - [#​170957]) ([utility\_meter docs][utility_meter docs]) - Use correct state\_class for utility meters with device classes that don't support total\_increasing ([@​frenck] - [#​170962]) ([utility\_meter docs][utility_meter docs]) - Reduce GoodWe connect retries to avoid blocking startup ([@​frenck] - [#​170964]) ([goodwe docs]) - Fix is\_closed state for DiscretePositionableGarageDoor in Overkiz ([@​iMicknl] - [#​170981]) ([overkiz docs]) - Fix controls for OpenCloseGate4T (rts:GateOpenerRTS4TComponent) in Overkiz ([@​iMicknl] - [#​170987]) ([overkiz docs]) - Prevent Google Assistant entity sync from blocking startup ([@​frenck] - [#​170991]) ([google\_assistant docs][google_assistant docs]) - Load template extensions by class to prevent import deadlock ([@​frenck] - [#​170995]) - Use asyncio.get\_running\_loop() in emulated\_hue UPnP responder ([@​frenck] - [#​171000]) ([emulated\_hue docs][emulated_hue docs]) - Fix Netatmo valve KeyError when hvac\_action state is unavailable in Overkiz ([@​frenck] - [#​171004]) ([overkiz docs]) - Fix time trigger crash when using entity\_id dict format without offset ([@​frenck] - [#​171006]) ([homeassistant docs]) - Fix threshold preview crash when hysteresis is not provided ([@​frenck] - [#​171009]) ([threshold docs]) - Fix Growatt mix device IndexError when chart data is empty ([@​frenck] - [#​171012]) ([growatt\_server docs][growatt_server docs]) - Fix SleepIQ timer units: seconds should be minutes for core climate and foot warmer ([@​frenck] - [#​171013]) ([sleepiq docs]) - Fix Control4 climate crash when humidity is 'Undefined' ([@​frenck] - [#​171015]) ([control4 docs]) - Fix manual alarm panel crash on restore with invalid state ([@​frenck] - [#​171016]) ([manual docs]) - Handle Daikin connection errors gracefully in coordinator ([@​frenck] - [#​171017]) ([daikin docs]) - Fix shorthand template conditions in choose blocks crashing all automations ([@​frenck] - [#​171018]) - Add additional overrides to cover entity in Overkiz ([@​iMicknl] - [#​171019]) ([overkiz docs]) - Fix Verisure alarm crash when cloud rejects arm/disarm command ([@​frenck] - [#​171024]) ([verisure docs]) - Add stop command to Overkiz pergola horizontal awning covers ([@​frenck] - [#​171034]) ([overkiz docs]) - Fix WeatherFlow websocket crash when data payload is None ([@​frenck] - [#​171037]) ([weatherflow\_cloud docs][weatherflow_cloud docs]) - Bump pyIntesishome to 1.8.8 ([@​jnimmo] - [#​171041]) ([intesishome docs]) (dependency) - Return media\_content\_id as string in forked\_daapd ([@​frenck] - [#​171059]) ([forked\_daapd docs][forked_daapd docs]) - Bump aioimmich to 0.14.1 ([@​mib1185] - [#​171138]) ([immich docs]) (dependency) - Fix controls for UpDownGarageDoor4T and additional 4T covers in Overkiz ([@​iMicknl] - [#​171144]) ([overkiz docs]) - Fix ZHA config entries using a URI without a port ([@​puddly] - [#​171164]) ([zha docs]) - Fix is\_closed state and position for DynamicPergola covers in Overkiz ([@​iMicknl] - [#​170983]) ([overkiz docs]) - Fix tilt and position support for VenetianBlind covers in Overkiz ([@​iMicknl] - [#​170974]) ([overkiz docs]) - Fix blebox light temperature scaling ([@​bkobus-bbx] - [#​170573]) ([blebox docs]) [#​169484]: home-assistant/core#169484 [#​170146]: home-assistant/core#170146 [#​170181]: home-assistant/core#170181 [#​170231]: home-assistant/core#170231 [#​170360]: home-assistant/core#170360 [#​170563]: home-assistant/core#170563 [#​170573]: home-assistant/core#170573 [#​170769]: home-assistant/core#170769 [#​170840]: home-assistant/core#170840 [#​170865]: home-assistant/core#170865 [#​170910]: home-assistant/core#170910 [#​170913]: home-assistant/core#170913 [#​170933]: home-assistant/core#170933 [#​170957]: home-assistant/core#170957 [#​170962]: home-assistant/core#170962 [#​170964]: home-assistant/core#170964 [#​170974]: home-assistant/core#170974 [#​170981]: home-assistant/core#170981 [#​170983]: home-assistant/core#170983 [#​170987]: home-assistant/core#170987 [#​170991]: home-assistant/core#170991 [#​170995]: home-assistant/core#170995 [#​171000]: home-assistant/core#171000 [#​171004]: home-assistant/core#171004 [#​171006]: home-assistant/core#171006 [#​171009]: home-assistant/core#171009 [#​171012]: home-assistant/core#171012 [#​171013]: home-assistant/core#171013 [#​171015]: home-assistant/core#171015 [#​171016]: home-assistant/core#171016 [#​171017]: home-assistant/core#171017 [#​171018]: home-assistant/core#171018 [#​171019]: home-assistant/core#171019 [#​171024]: home-assistant/core#171024 [#​171034]: home-assistant/core#171034 [#​171037]: home-assistant/core#171037 [#​171041]: home-assistant/core#171041 [#​171059]: home-assistant/core#171059 [#​171138]: home-assistant/core#171138 [#​171144]: home-assistant/core#171144 [#​171164]: home-assistant/core#171164 [@​bdraco]: https://github.com/bdraco [@​bkobus-bbx]: https://github.com/bkobus-bbx [@​dankarization]: https://github.com/dankarization [@​flz]: https://github.com/flz [@​frenck]: https://github.com/frenck [@​iMicknl]: https://github.com/iMicknl [@​jnimmo]: https://github.com/jnimmo [@​kroehre]: https://github.com/kroehre [@​lumatijev]: https://github.com/lumatijev [@​mib1185]: https://github.com/mib1185 [@​puddly]: https://github.com/puddly [apple_tv docs]: https://www.home-assistant.io/integrations/apple_tv/ [blebox docs]: https://www.home-assistant.io/integrations/blebox/ [caldav docs]: https://www.home-assistant.io/integrations/caldav/ [control4 docs]: https://www.home-assistant.io/integrations/control4/ [daikin docs]: https://www.home-assistant.io/integrations/daikin/ [dnsip docs]: https://www.home-assistant.io/integrations/dnsip/ [emulated_hue docs]: https://www.home-assistant.io/integrations/emulated_hue/ [forked_daapd docs]: https://www.home-assistant.io/integrations/forked_daapd/ [goodwe docs]: https://www.home-assistant.io/integrations/goodwe/ [google_assistant docs]: https://www.home-assistant.io/integrations/google_assistant/ [growatt_server docs]: https://www.home-assistant.io/integrations/growatt_server/ [homeassistant docs]: https://www.home-assistant.io/integrations/homeassistant/ [iaqualink docs]: https://www.home-assistant.io/integrations/iaqualink/ [immich docs]: https://www.home-assistant.io/integrations/immich/ [intesishome docs]: https://www.home-assistant.io/integrations/intesishome/ [manual docs]: https://www.home-assistant.io/integrations/manual/ [overkiz docs]: https://www.home-assistant.io/integrations/overkiz/ [qbittorrent docs]: https://www.home-assistant.io/integrations/qbittorrent/ [sleepiq docs]: https://www.home-assistant.io/integrations/sleepiq/ [teleinfo docs]: https://www.home-assistant.io/integrations/teleinfo/ [threshold docs]: https://www.home-assistant.io/integrations/threshold/ [utility_meter docs]: https://www.home-assistant.io/integrations/utility_meter/ [verisure docs]: https://www.home-assistant.io/integrations/verisure/ [weatherflow_cloud docs]: https://www.home-assistant.io/integrations/weatherflow_cloud/ [zha docs]: https://www.home-assistant.io/integrations/zha/ </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMDEuMSIsInVwZGF0ZWRJblZlciI6IjQzLjEwMS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19--> Reviewed-on: https://git.erwanleboucher.dev/eleboucher/homelab/pulls/568
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed change
Fix cover state for Somfy Rollixo IO (DiscretePositionableGarageDoor widget) which reports
core:OpenClosedUnknownStateinstead ofcore:OpenClosedStateand does not support position control.After the cover platform migration to entity descriptions (#141330), this device falls through to the
UIClass.GARAGE_DOORdefault which looks forcore:OpenClosedStateandcore:ClosureState— neither of which exist on this device. This causes the cover to always show as "unknown" state.The fix adds a widget-specific override for
UIWidget.DISCRETE_POSITIONABLE_GARAGE_DOORthat uses the correctCORE_OPEN_CLOSED_UNKNOWNstate and omits position control (which this device doesn't support).Type of change
Additional information
Checklist
ruff format homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all.To help with the load of incoming pull requests: